Fixed default CSS issue and bug in rendering images that didn't have a caption.