End of battle fix
Alot of bugfixes and reset after lose
Merge branch 'master' of https://github.com/ossie7/BMT

Conflicts:
	project/assets/lua/loader/layermgr.lua