Add try/catch around callbacks and support same arity type overloads

fix #3 and support all arities of launchTasks