refactoring in support of new task processing
fixed taskpaper output
adjusted process_inbox