got states working in MadComponents, got title bar to behave too