Cleaned up many functions that were too long.
Still a few need to be fixed but code is much cleaner now.
Fixed errors that were happening with expansions and quotations. Stuff like echo "$USER'"'$USER"' which the code did not support.
Also added support for $$ so this expands to "1234" now and correctly handles echo $$$$ or $$USER for example.
Cleaned up many functions that were too long. Still a few need to be fixed but code is much cleaner now. Fixed errors that were happening with expansions and quotations. Stuff like echo "$USER'"'$USER"' which the code did not support. Also added support for $$ so this expands to "1234" now and correctly handles echo $$$$ or $$USER for example.