Improve performance of the DebugGui.
Reworked LP command handling.