Revert "Shouldn't need force-output."

This reverts commit 472163837098887748d20a23328b07981bce3dad.
Add some more forcing of output to improve experience.
Give an appropriate error when closing non-open project.