renamed save button, fixed offset bug in firefox, added exportData, added saveData