Added better UUID support.
Cleaned up some code.
Cleaned up some code in SQLManager.java