More style improvements.
Populating SLM functions.
Merge branch 'lint' of github.com:mickp/bnsdevice into lint

Conflicts:
	slm.py