15 warnings removed. Added twinkle class. Added some boolean flags for debug print. Removed some DEFINE from .pro.