Use lockfile for interprocess locking.
Merge pull request #32 from rjackson/use_lockfile

Use lockfile for interprocess locking.
add optional stylus support