Warning cleanup from running with gcc46
Fix bugs and warnings found with clang
Updated version number to Spindle 0.8