Adding activatePageOn option
Moving event handlers into non-anonymous functions
Normalizing frame argument to allow selectors to be passed to it
Tweaks and cleanups. Adding itemSelector option.