implement commands for interactive mode

- stop_waitforneedle: makes waitforneedle(), checkneedle() etc abort
- enable_interactive_mode: enables interactive mode
- disable_interactive_mode: disables interactive mode
- continue_waitforneedle: continues a waitforneedle that is in interactive mode
- reload_needles_and_retry: reload all needles and continue waitforneedle