Clean up debug code for input functionality (closes #15)