Modified the main HTML and image formatting

+ loading a file clears the old content on load
+ the image formatting is a bit cleaner for WAD and BSP