Restructured the source tree.
Organized and simplified parts of the code.
Fixed minor bugs (eg, list of enabled actions).
Changed to print actions using showTerm.