Simplified printing operations and small UI fixes

Replaced a few outstanding vertical lines with pipe characters
as well as moved a string operation out of printing functions
to reduce unnecessary redundancy
Fix to analyze tag function not working correctly

Before, if the tag value in a given tag field was empty,
the script would fail to catch it.
Simplified operation printing functions

This reduces the script by about ~600 lines