main.py renamed to window.py.

Battle-only functions are now located on battle.py.
window.py will work as a shared interface for various aspects of the game.
Only changes to the code, the game should remain exactly the same.
Merge branch 'master' into marce