cleanup

fun cleanup()

cleanup the polyUI instance. This will delete all resources, and render this instance unusable.