Image search in create flashcard and other fixes

Added several changes to fix several issues (tracked on github). Ben
added the image search functionality which is awesome! Try it out.
Needs some styling!