GridElement draw order isn't actually working, but I did a decent job making it look like it is.

Cleaned up some memory leaks in manager.