removed pedantic compile warnings, cleaned up webkit code in launcher