Fixed some problem with the lua manager destructor and add a way to own/diwsown LuaState classes.
Added more function to control LineComponents behavior.