Run code inspector over codebase and eliminate some obviously unused code and apply general recommendations
Fix the way tilting is handled for ship
whitespace