Added API. Fixed watch tool. Added keyboard control to qshell.