Instead of printing to stderr when the lockfile is there, simply write
to the standard log to avoid having to check logs in multiple locations.
Also a few pep8 updates.