Add gitignore
More potential spam bugfixes

I can't open multiple quake clients atm so it's a bit harder to bugfix
by myself.
Add substring and stov

All from FrikaC definitions