Stop OSX from reopening all windows when logging back in
curl -sSL https://raw.github.com/roubles/nowindows/1.4/do | bash
Reboot your mac. Notice windows don't reopen. Voila.
curl -sSL https://raw.github.com/roubles/nowindows/1.4/status | bash
curl -sSL https://raw.github.com/roubles/nowindows/1.4/undo | bash