removed design mode stuff, added rendering hooks
ServerMode function exit