Add some Media functions to new Lua API
Convert gdi01 to new Lua