GUI features, physics tweaks, and math utils