Crash and warning fixes, bumping version number to 1.0 for submission