add forkHandler. closes #680

Also fix import warnings in Handler