Implemented drawing of polygons.
Extracted ezEngine dependencies to their own file.
Some more smaller corrections.