moving debug bar into plugin