Fixed IE issue where pages directing quickly failed.

Added logger marking for benchmark testing.
Code cleanup.