updated syntax in the mouse example
minor fix to clock