Housekeeping and a .gitignore update to cater for IDEA