Use prefwindow instead of inline preferences