Added tabbed browsing and picture taking logic.