Implement a more configurable modeline

Closes #40
try-pop-queue didn't seem to work on my installation of bordeaux-threads