Plot now resizes itself if the window size changes
Fixed error that prevented the plot from being drawn using ruby 1.8