(eval-when (compile) ...) is not the same as (eval-when-compile ...)
Committing a form now prompts for login.
(Also, avoid bogus pop-window-config and mode change.)
Fixes #29.