Delete delay in painting.
Cleanup imports.