Fix types for some plot parameters

Thanks to Neil for providing test cases
Minor framework doc fixes
reorganize into core plus packages

The "racket" directory contains a pared-back version of the
repository, roughly.

The "pkgs" directory everything else in the repository, but
organized into packages.