editor: cleanup: use Utils for common tasks (reading parameters, getting repository)