Fixed some bugs, added 'i' and 's' commands for idle and success, respectively.