displays a simple window