refactor thumbManager
Add events