Fixed bug in image type selection in worms example. Changed line drawing function in imageGraphics so that it uses the vertical and horizontal functions when appropriate.