- removed special variable to keep track of whether graphics memory was allocated
- changed some comments