Fixed encoding and scrolling issues with html gfi window