Use a ticker with examples/fonts

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

see #1
Use Duration.Seconds() in getFPS()