Add optional debug logging. Remove throwing exceptions.
Introduced a new flag at the very top of the script called DEBUG. When set to true, will enable the developer to see what mqa functions that are invoked to easily track its behavior.

Throwing exceptions was a rather harsh approach and has therefore been removed. It's now up to the developer to make sure that the alias exist.