Added tagged image retrieval and other improvements.