moved snake painting from the main form to user control.