Fix bug with GUIs
Pixel sampling in lua
Move struct timeval cdef to its own file
FPS counter