Update .gitignore, fix remaining bugs

The demo project should no longer be uploaded