

Remove redundant code; fix computation of `last'.

xlgames-inc/XLE,yorung/XLE,xlgames-inc/XLE,yorung/XLE,xlgames-inc/XLE,yorung/XLE,yorung/XLE,yorung/XLE,xlgames-inc/XLE,yorung/XLE,xlgames-inc/XLE,xlgames-inc/XLE,yorung/XLE,xlgames-inc/XLE,xlgames-inc/XLE,yorung/XLE