Various fixes.

Gets the NQP-based multi-dispatcher working for some basic cases.