Small fixes including:
Optimized code and fixed some coding standard issues.
Changes since 7.x-1.0:
Popup question redirect module release to Drupal.org.