fixed issues with strcpy vs strncpy
time and cursor windows are now available
fixed issue with heartbeating (query_handler was beaten down)