Now clears arrays and vectors of old baseframe to avoid restarting and reloading