Changed Window and ShaderControl from objects into classes.