Fixed bugs in lens and added image lens

Fixed performance bugs in text lens and added the image lens library. Also fixed when the lens goes off the right-side of the screen