More bug fixes...

Fixed a few create new session and new note issues that arise when
spaces are used in the name.