Bug fixed, heirarchy improved. Colored begug added.