Fixed small bugs in core. Modules error streams now print to console
when activelog is enabled.