DEBUGGING: Added small/medium/large distinction to debug tools.