extremely buggy.. mysterious segfaults in gl...