WIP: adding global status/error reporting