This fixes some thread issues in the simulator (won't suspend anymore)
and fixed the startgate issue by implementing a velocity class.