Merge pull request #201 from tyteen4a03/master

Unify indentation to use spaces only
Added missing braces to control statements. Braces errywhere please.
Refactoring: Removing unused imports.
Simplifying for-loops, where practical.
Merge pull request #204 from fragmer/master

Code quality improvement batch #1 (import cleanup, missing braces, for-loops)
Cleaned up the mess that was "Minecraft$OS" and "OperatingSystemLookup". Now one nice sexy "OperatingSystem" enum. Everybody happy.
Removed some dead code (SleepForeverThread and HumanoidModel constructors) from com.mojang.minecraft.Minecraft constructor.
Merge branch 'master' of github.com:andrewphorn/ClassiCube-Client
Merge pull request #205 from fragmer/master

Code quality improvement batch #2 (Minecraft$OS refactor, dead code removal)
Fixed a number of bugs and inefficiencies in ResourceDownloadThread. Now the client can start normally in applet mode or from launcher, even if some resource files were missing. TODO: proper threading/synchronization with main thread, to avoid locking up the UI during download.
Cleanup in Minecraft: reduced resource leaks, improved download speed/reliability for images, thoroughly documented onMouseClick()
Merge branch 'master' of github.com:andrewphorn/ClassiCube-Client
Merge pull request #206 from fragmer/master

Code quality improvement batch #3 (resource download fix, leak fix, onMouseClick documentation)
Split up the massive "run()" method into three slightly more manageable methods: initialize(), onTick(), and run() (that glues it all together)
Continuing cleanup of what used to be Minecraft.run(). Renamed onTick() to onFrame() (to avoid confusion with tick()). Named variables in the timing code. Fixed inconsistent formatting all over.
Substituted all inlined OpenGL constants with named ones. Fixed formatting some more.
Minecraft.java cleanup part 4: Improved the way frame-limiting is done in fullscreen (using Display.sync(N) instead of Thread.Sleep()). Got rid of MacOSX workaround that is fixed by LWJGL 2.9.1 (to which I plan to upgrade). Fixed a little regression in onMouseClick(). Optimized flipPixels(). Fixed shutdown errors not getting logged.
Fixed fps counter (regression).
Fixed screenshots turning out pitch-black.
Merge pull request #208 from fragmer/master

Code quality improvement batch #4 (split up run(), named OpenGL constants, fixed onMouseClick regression)