Added very basic editing capabilities while in debug mode