Re-arranged RaspberryPiCamera so that window is simpler and rescales