code cleanup, added task listeners
added utility class for mirroring gif sprites