Added a stupid little favourites function that doesn't do much yet; Moved some code into displayImage()