Change main page name to index.htm. Added selected text when thumbnail chosen