Removed debug calls
Compacted debug functions
Removed planet object
Added debugMode boolean.