fixed input issues. Lua scripting with core engine and cegui components is intgegrated.