Added script for CLI post search

Other updates include removing unnecessary context retrieval and making post
query builder CLI friendly.
Added script for removing letterbox borders
Changed thumb privilege (for weird configurations)
Logging in remembers original URL
Another safety switcher glitch fix