DragonLEE shares a script for creating windows easily in Blender, the Pencere.py provides a simple interface for creating all types of windows, with plenty of window attributes to tweak in a simple interface. Download the Pencere.py Window Generator Script for Blender here. (direct download)