I pulled the PanelsUI folder and dropped the new version into my components and restarted foobar. I was able to load the settings dialog without crashing and I was able to paste my old code into the panel, however as soon as I apply the old code foobar crashes. Here is my PanelsUI code in it's entirety (what I pasted to make it crash):
$drawrect(0,0,%_width%,%_height%,brushcolor-233-233-233 pencolor-null)
$panel(Menu,Menu,0,0,240,20,)
$panel(Logo,Track Display,$sub(%_width%,55),0,55,20,)
$select($add($getpvar(display.mode),1),
$panel(Now Playing,Track Display,0,20,%_width%,140,)
$panel(Spectrum,Spectrum analyser,300,102,$sub(%_width%,433),38,)
,
$panel(Test,Track Display,0,20,%_width%,140,)
,
$panel(Queue,Queue Manager,0,20,%_width%,140,)
,
$panel(Albums,Album list,0,20,%_width%,140,)
,
$panel(Lyrics,Lyric Show,0,20,%_width%,140,)
,
$panel(Console,Console,0,20,%_width%,140,)
)
$panel(Percent,Track Display,2,$sub(%_height%,36),75,20,)
$panel(Progress,Seekbar,77,$sub(%_height%,36),$sub(%_width%,154),20,)
$panel(Time,Track Display,$sub(%_width%,77),$sub(%_height%,36),75,20,)
// Buttons
$puts(offset.button.x,0)
$puts(offset.button.y,$sub(%_height%,15))
$button($add($get(offset.button.x),2),$get(offset.button.y),0,0,14,14,/images\Yotsuya\button.lyrics.png,/images\Yotsuya\button.save.png,MiniLyrics,)
$button($add($get(offset.button.x),16),$get(offset.button.y),0,0,14,14,/images\Yotsuya\button.foosic.png,/images\Yotsuya\button.save.png,Foosic,)
$button($add($get(offset.button.x),30),$get(offset.button.y),0,0,14,14,/images\Yotsuya\button.shoutcast.png,/images\Yotsuya\button.save.png,ShoutCast,)
$button($add($get(offset.button.x),44),$get(offset.button.y),0,0,14,14,/images\Yotsuya\button.home.png,/images\Yotsuya\button.save.png,Foobar Forum,)
$button2($add($get(offset.button.x),58),$get(offset.button.y),0,0,14,14,A,a,Album Art Downloader,)
$puts(offset.button.x,$add($div(%_width%,2),12))
$puts(offset.button.y,$sub(%_height%,16))
$button($sub($get(offset.button.x),50),$get(offset.button.y),0,0,0,0,/images\Yotsuya\button.dark.left.prev.png,/images\Yotsuya\button.bright.left.prev.png,Previous,)
$button($sub($get(offset.button.x),25),$get(offset.button.y),0,0,0,0,/images\Yotsuya\button.dark.center.stop.png,/images\Yotsuya\button.bright.center.stop.png,Stop,)
$button($get(offset.button.x),$get(offset.button.y),0,0,0,0,/images\Yotsuya\button.dark.center.$if(%ispaused%,pause,play).png,/images\Yotsuya\button.bright.center.$if(%ispaused%,pause,play).png,Play or Pause,)
$button($add($get(offset.button.x),25),$get(offset.button.y),0,0,0,0,/images\Yotsuya\button.dark.right.next.png,/images\Yotsuya\button.bright.right.next.png,Next,)
$puts(offset.button.x,$sub(%_width%,0))
$puts(offset.button.y,$sub(%_height%,15))
$button2($sub($get(offset.button.x),114),$get(offset.button.y),0,0,14,14,I,i,'PVAR:SET:display.mode:0',)
$button2($sub($get(offset.button.x),100),$get(offset.button.y),0,0,14,14,T,t,'PVAR:SET:display.mode:1',)
$button2($sub($get(offset.button.x),86),$get(offset.button.y),0,0,14,14,Q,q,'PVAR:SET:display.mode:2',)
$button2($sub($get(offset.button.x),72),$get(offset.button.y),0,0,14,14,A,a,'PVAR:SET:display.mode:3',)
$button2($sub($get(offset.button.x),58),$get(offset.button.y),0,0,14,14,L,l,'PVAR:SET:display.mode:4',)
$button2($sub($get(offset.button.x),44),$get(offset.button.y),0,0,14,14,C,c,'PVAR:SET:display.mode:5',)
$button($sub($get(offset.button.x),30),$get(offset.button.y),0,0,14,14,/images\Yotsuya\button.playlist.png,/images\Yotsuya\button.save.png,Collapse,)
$button($sub($get(offset.button.x),16),$get(offset.button.y),0,0,14,14,/images\Yotsuya\button.vis.png,/images\Yotsuya\button.save.png,ProjectM,)
I repeated the experiment in ColumnsUI but did not experience a crash. I was even able to apply the above panelsui code (though obviously not all of it functioned).