Cleaned up some unused variables.
Added an overloaded translate() function that takes CharPointer_UTF8
Fix for openGL rendering engine in native-titlebar windows.