Debug UI & Submerging Code

-Improves debug mode UI
-Alters submerging code