implement Window#uptime, reset double click distance after :dblclick

glfwGetTime() is probably the fastest time function, giving us
a bit of a speed boost.