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

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