Fixes for devmode not correctly pulling from config.json, and for not printing out to console in rare cases.