improved paste delay option

gets rid of sleep in UI thread which was blocking and nasty in general.
Also very inaccurate in its timing as were other timers i tested such as
WM_TIMER so now using multimedia timers to give pretty much exactly the
millisecond delay requested.  MMTimer runs in its own thread so doesn't
block UI anymore so window paint, resize and ctrl+c etc.. work when
pasting.