changed floor
changed some numerical constants
fixed doMine battery handling