Undefer qtys in a couple more places
Log when stock is auto-allocated

Closes #18 on github.  Also move the auto_allocate code to a more
sensible place and fix up menu options pointing to it.