Use K&R style brace and eliminate compiler warnings from GTGEditor

- Use K&R style braces as per coding style guide
- Eliminate compiler warnings from GTGEditor

Everything compiles without warnings now.