pbands code seems to work, cleaned up useless junk in mode definitions