fixed the vertical_wrapping boundary bug. I figured out that the drawing operations are what is causing me to use SOOOO much memory, i'm not sure what the best way to deal with the memory usage, but it is surprising that the program uses more memory thatn chrome, and takes up 25% of my processor time