Exit autogen on failure
Update copyright, change version to 0.6.0
Update to glib 2.32 threading API
Remove unused variables/functions
Remove deprecated API usage