Fixed Bugs

Fixed bugs that would cause Minecraft to crash on startup. At least I
can get to the main menu now.