Improved resource replenish/depletion, moved movement and canvas controls to html partial, misc improvements