Should have fixed a lot of bugs by now.
Updated .gitignore.