update to rust 0.11, optimize, check for additional warnings