Updated editor to handle the XGA video resolution automatically