Added inner loop break to the demo.
surface.rs: added get_pitch, changed width and height casts to int.
Merge pull request #147 from seemk/master

Demo and surface.rs update