1.	Fixed encoding issue caused by incorrect error handler.
2.	Initiliased simulation run html generator.