change default cmdline file opening mode from XY to NXY; update gitignore