Logic now uses internal commands rather than doCommand()

Sometimes I don't know when changes really change things.
Merge branch 'master' of https://github.com/jdkaplan/ASTRO

Conflicts:
	logic.c