fixed the serverside crash and added a bit more to the gitignore

should fix #28