Corrected the ability to rotate chest by hitting it with a wrench on top

Miscellaneous cleaning of java code