adding address to note stream. cleaning up main.js a little.