Fixes to dispatcher, it didn't fully like the passage to standard directories.

Signed-off-by: Norv <a.w.norv@gmail.com>
Merge pull request #141 from norv/dispatch-fixes

quick fixes to dispatcher