add serial output
added an autoclear function which deletes the commands after a few moments