If there aren't any pages we need to error out too.  Also, instead of warn() and fallback() we should do alert().  It's the only thing in FF that the user will be able to see before print.