Fixed some 'code stank' and documented a bit. Also, Jam.xmind because planning.