added work on d2d bitmap
the D2D bitmap code should be working, more or less
started to add framerate limits and clocks, also added working bitmap code