Use a ticker with examples/fonts

see #1
Fix 'Failed to activate the window's context'

see #1
Use Duration.Seconds() in getFPS()
Merge pull request #2 from brunoqc/ticker

examples/fonts: Cap FPS using time.Ticker and make use of runtime.LockOSThread.