Change order of functions, fix ignorator bug

It was sending the ignorator data to bg script before the messageList
functions had been called. Changed order of functions to make it easier
to find them