Fixed bugz!!

1) Right-click menu appears next to mouse. If the menu would go off the
page, we move it so it fits on the page.
2) Integrated all pages that save photos, articles, and stack order
with JSON.