Properly handle actor removal as a result of its actions. Also, add a lot of comments for ActorSystem.