unified error handleing, Compiler interface, fixes