Unused parameter
Move debugger functions into main GUI with settings flag to enable