Added initial gitignore to keep out VS temp files.
Cleanup of init and shutdown.