Improved dispatcher; improved sine display; general cleanup.