Basic automatic IDE refactorings
Simple refactoring to make code more Ruby-like
Rename many globals for better/more descriptive names
Decent refactor of level.rb (related code updated when needed)