DrawThread class submmitted by Chen
DrawTest class submmitted by Chen