Tweak interface timeout calculation and numbers, set upper bound for timeout.
Offload timeout calculation to the server.
Remove no longer needed definition hooks.
Fix #47: Buying items from a shop items remain "unpaid"
Remove unnecessary temporary variables.
'It is made of' -> 'They are made of' if nrof > 1.
Remove temporary buffers in examine().
Remove goto.