 The bit about huts losing money when smashed is in the help file section labelled "Attacking". There is already an undo key for moves and purchases. It is the "backspace" key. This doesn't seem to be mentioned in the help file. Right-click is the buy shortcut. 