Beef up bt_time command line options problems to detect more invalid command lines. Chance name of cache_branches option, and change default false. Fix bug in open_flags() and permanent_flags().