simple logging
complete merge. Also catch IOError in miner.views when attempting to write to log
Merge branch 'walkersdev' of https://github.com/hobson/pug into walkersdev