Cleaned up coding style
Removed unused GTimeVal