added a global clock. you can measure time this way easily without having to create a new stopwatch on your own.