Added key toggle for debug.
Added classdiagram for GDB.