#50 some bug fixes and change the imports to eliminate all warnings and change the order of painting for the picture (1. hour, 2. minutes and 3. seconds)