Code looks sane, but somehow it frustrates the panel animation timer, causing freezes now. Work for tomorrow.