core: MarSystem: improve observer interface, fix typo in addObserver()
apps: debugger: use MarSystem observer interface