Hans Leidekker : msi: Use a function to test the UI level instead of passing a boolean around.