Slightly improved error handling (should now blink on errors). Also added … ehrm, logging