Add showCommand and showMessage functions

for debugging and stuff
Add listenOutput thing, for logging purposes