Finally got program running; a few more tests and fixes are needed, though.
Updated lots of stuff; main program is running, but buggy.