Better program parsing, Fixes #4

Still want individual command parsing, but that’s a qgame issue