Make input queue stateless and non-locking, file system level locking should be enough for us
A little bit of a tidy up before I start (on the queue-db bit properly
)