Add raw, history file button, and other mirror fixes