Fixed Lua performance problems

Removed lua_renderwindow Wrapper
Updated HUDPaint hook
Updated console window