Updated gitignore, added version number saving, fixed startup bug