Some fast fixes. Also added rules to .gitignore to ignore CodeBlocks files (except for project file).