Got rewritten FPSOpen, FPSReopen, and FPSRefresh basically working.
Refactored command line parsing to used just parse_cmdline, which in turn uses parse_raw_cmdline. Basically working, but desperately need to rework error handling.