added CursorToBOL function to console

darcs-hash:20081118075628-b2873-6dffd4e62b2c686bfe49e6f1177bb03a33481915
console: added a small sleep in write to ensure that everything is printed before program exit

darcs-hash:20081118075923-b2873-fc29a543822b4be5fd687f0fdec3957f0f740492