Fixed "NO ENVIRONEMNT DATA" message flashing
Prettified code
Fixed NullPointerException