Move variables to ship

"stamina" and "treasure" variables are now attached to ship object. Some other
clean-up work.