Updating code to remove a notice.
Some minor bug fixing and layout adjustment.
Updates to allow referrer to work properly even on cached pages.