fix globals in view, create master stylesheet [fix #48238383]