* Fix crash in fishsanity's flag set handler. Code format cleanup. Fix typedef warnings in fishsanity.h. * Actually fix the crash now. * Relocate RCTYPE check for broader application.