Way cleaner and simpler done handling. There is now a done event that is used.