misc stuff i fixed while trying to do work

my server-side dispatcher has to get rewritten