- Fixed bad "close document" binding and refactored graceful quit proc.