Modify test project to a more realistic usage case.
Modify Dan's fix for unblinking cursor to make it more robust