Format JSON
Add listener toggles in manager, clean up logger, fix main