moved toBufferedImage to Utils
Added interactive edge trigger