Merge pull request #953 from dorkster/fixes

Fix segfault when there's no render device when exiting the game