More register bit defines and fixes.