Makes sure to clear out the right panel and disable the Create Document button when the user hasn’t selected anything in the table view.
Renames File > New to File > New…
Code cleanup.