pre separate
reworking code as part of v.2
gdiinit
some fixes
resolving build errors; small fixes
resolved build errors; removed proxy page for image with direct link; small fixes