Remove old unused preferences code.
Fix end-of-block bug and make title bar prompts more natural.