update to work with teensy 3.0 and 3.1

image selection still needs to be fixed, max image size is pretty small
because of ram limitations