Fixed some compiler warnings and added the Code::Blocks project file.