Fix glcube quit

Signed-off-by: Paul Brook <paul@nowt.org>
Line drawing helper

Signed-off-by: Paul Brook <paul@nowt.org>