Make bwoken more configurable and resilient to spaces - Cleaned

This is a cleaned-up version of #35.