Remove unused function
Turn debugging panel off