Added keyboard event handler

In the event of a keyboard event, an updated version is developed to
handled it in a more proper way.
fixed and added various functions

listenForAction() is improved, along with others
To Line Arguments Updated
Added To Line Commands and Types
Changed ListNode to UserNode