Merge pull request #43 from mk200789/master

modified experience system
Minor code formatting fixes.
Fixed bug introduced from pull request #43 where condition checks would cause trade button to not display.
Fixed bug where targeted unit for trade can change during trade session.
Removed unnecessary player unit check (to see if player unit is still alive) since main_player_alive check in main.js handles it already.