Fix compiler warnings, increase version number to 1.0.1