Moved printDBG and matplotlib initialization to __common__. Added some comments. Preparing for adding name interaction