Completes framework of error code messaging

(1) All try/catch statements now have a corresponding toast that shows an error
(2) Restructured search code/view.