Adding more extensions to gitignore. Fixing bugs in bpm/st and readint32