Fix a couple bugs and unify the debug inspector