Progress on input stuff. Also fixed a slip-up in SEBase.
Updated Polycode to 2013-05-20.