solved problem on windows startup and improved history.html