Should be a little bit more safer now.
Adding redraw event
Clean up
Forgot to change to wstring.