Upgraded to the latest bgfx and bx revisions.
Fixed GUI texture rendering, added temporary gui shader, cleaned up console and device a bit, cleaned up bgfx project and upgraded to latest revisions.