added ability to create buttons with images from an image sheet instead of just files