Removed some warnings. This includes some set but not used variables, printf-attributes and an unsued function
Added reference to the build instructions in the readme