Subsurf Levels only makes sense when using Projection mode, so moved this option into if mode == 'PROJECTION' branch.