Added static bool migrate_database
Added print_video_modes() and create_engine_device()
Minor changes