code cleanup
cleanup
rewrote and renamed drawguide function
rewrote drawDoubleGuides again
removed old unused function
small changes