Added syslevel locking for GDI operations. Propagate the changes through the graphics code.
Moved all ttydrv source files to dlls/ttydrv. Load functions pointer for the USER driver from the graphics driver dll with GetProcAddress.