removed deprecated document constructors
implemented basic fullscreen document