Switched to using python dictionary for config

Now supports 'macro functions' which can operate on the text. Also
added a boatload more useful macros to config. Made 'snore' mode.