Ok, never mind that.

Right now when I run the program I get the error

QLayout "unnamed" added to protein "unnamed", which already has a layout

is there a reason that this is happening.