Heapless

Some more changes to enable error reporting. Please pull asap...