Fixed invalid window size.
Added a behaviour structure for lighting

Instead of using nodes as lights, beheaviours should be used instead.
The entire structure is not complete though. Some parts are not figured
out yet.