Fixed many bugs, does almost everything required, except for using one
of the Next buttons in Upload and the Button that returns to the start
in Search