Only factoid triggers that make up the entire line, contain a whitespace character after, or contain anything other than a letter or digit will match. This prevents something like input 'javac' matching the factoid trigger 'java' just because it contains the string.
Phased out giant switch statement. Added more Functions