Add stub for UI.debug, fix kill spec