main.cpp now demonstrates use of CScreenDevice,
Some minor changes