Significantly cleaned up index.js and paper settings panel formatting.
Delete and duplicate invoke page reloads. Invokes location.reload() which is sort of a crude way to reload the page.. Will fix later.