Fixed some error catching and new note creation issues