Fixed all problems that occure after changing from array to qlist
Fixed kicking out of figures