Use 'while True' instead of 'while 1' for readability
Update unknown parameter message
print instructions when error occurs