Errors when trying to finish entering history and start a new year.

SOLVED

When I try to start a new year I am told I need to finish entering history.  However I have not been able to finish entering the history on the accounts, because it says I have accounts that are not linked.  When I try to link an account where needed my only options for linking are random expense accounts that are not correct or else the drop down box appears blank.