Added widgets and moved debug console there. Also slight modification to debug console