patched ui.rs: added tags to use usleep

Just a patch (probably to the latest version of rustc).