Update TestDatabase.java
Update ManualGenerateGUI.java
Merge pull request #99 from RAlmada/master

fixed MC issue and fixed lack of qdb writing in tdb qdb pass back