Arduino.h and wiring_digital.c problem.

Can't get utft library to work even how hard I try. I just end up with empty white screen backlit..

I added cbi and sbi defines to beginning of UTFT.cpp and HW_AVR.h - removed all
other mode stuff than mode 16 from HW_AVR.h and changed regtype's type definition to volatile rwreg..

Also, I grabbed pgmspace.h from another thread and included it whenever AVR/pgmspace.h is requested.
Code compiles without problems. Shield is at 3.3v setting and mega pins is selected in demo 320x240.

Nothing happens. What am I doing wrong?
I have itdb32s and mega shield for it from
Iteadstudios..