upgrade to rust 31/10/2013

transmute casts on window events whined about wrong sizes,
changed from int to i8, which solves the problem