glutil-precheck, first draft

Signed-off-by: nixnodes <code@eth.si>