Data goes in, data comes out! gallery and permalinks working. Need to add moar AJAX