Implemented canvas through a Surfaceview with a thread that can handle changes