first commit
fix memory leak
don't exit after command is run
add exit (^D) and clear (^L)
check if we're sending an empty string to system()
add explicit exit command