Refactored the window elements to another file.
Remove createWindowList and added the functionality to createWindowNode.
createWindowNode now uses parameters instead of this.
Removed unused functions.
Added a maximize and a minimize button.
Removed unnecessary window from the object keys.
Fixed misaligned },
Started to add a mazimize button. Will require some rethinking concerning the design och the app.