Fixing bugs, adding DOCTYPE.