Fixed invalid drag layer
implemented gui handling for WMS layer, fixed some of WMS merge bugs
Removed unused warnings and panels, fixed adv map settings bug
Merged newest master