Bug fixes

Removed staminaT and energyT.  Seem not necessary in code, and fixed
energy.max, stamina.max
Fixed bug where image click on general page would click the wrong image.