Added protection for indexing outside of range in view page.
Added approved flag to snippet table.
Added thank you alert after new upload.
Updated UI of index page
Merge pull request #14 from XaaK/master

Few updates