Add more .gitignore entries
Add the missing mode argument to open() in soundcard.c, for compatibility with alsa-oss
Use SQL's built-in modulus operator rather than the mod function which SQLite doesn't support