libsmon.py: some minor cleanups
smon.py: improved handling of wrong arguments