Code cleanup

Renamed some variables, changed global status of some others, fixed bug
which caused total system failure & complete hard drive deletion,
Element and Player class modifications, InputHandler implementation