Resources, standalone, flying noclip physics

Added compatibility to standalone mode. Please check if this still works
as an applet (it should)
Flying physics suck as described. This commit can be undone if need be.