Fixed some construct formatting, gave img an end tag to work with the
tree builder