Update TODO/BUGS.
Lock mode while prompting.
Clean up pylint/noqa comments.