Fixed memory leak; support for project names with spaces
#4, #6