Add cleanup code, call glClear, print type in shader compile errors.