fix vcxproj
finish debug
add exit lua_state