changed header includes (faster compiling), added resizing option + size preview