Fully functional first example on Windows platform. Linux version is
broken.