Fix a bug that would cause an exception to be thrown when notes were added to the TreeView before it was available.
Fix a bug that would cause an exception to be thrown when notes were added to the TreeView before it was available.

tomboy-notes/tomboy.osx,tomboy-notes/tomboy.osx,tomboy-notes/tomboy.osx