Debugging & Visualization Adjustments

Fixed some visualization problems and altered the code in certain areas.