Narrowed it down to the ActivityToolbox import on the gui file. Will continue later.