Final things finished and code commented.