LComponent: implemented getTopLevelComponent
set global lua_State as soon as possible
added: LViewport