added escape and enter keybindings for source inputs, fixed bug with changing source location