Remove duplicate code by using Container instead of JFrame and JComponent
Add logic for skipping timeouts in Animation.

Skip some of the timeout when behind schedule.
Remove duplicated code by using Container

 Instead of JFrame and JComponent
Improve "behinde schedule compesation"