Remove unused code (popup close notification), moved popup code into iReader namespace, changed some vars to more sane names