removed trailing newline
added html footer
some workaround for faster debugging
new version