Prevent duplicate or missing worldspawn by changing the classname.
Fixed some compilation warnings in MSVC.
Fixed flickering of toggle buttons.