Removed troubleshooting comments.
Core of program more or less complete.