Recreated part of an older PR but for detecting the theme instead.
Updated thememanager again.
Removed static properties and detection of a theme from app resources.
Implemented fix from #660
BorderlessWindowBehavior throws NRE if MetroWindow has no PART_TitleBar or PART_WindowCommands
avoid double type check
Merge pull request #700 from thoemmi/ShouldNotThrowOnMissingParts

BorderlessWindowBehavior should not throw on missing parts
Merge pull request #698 from Amrykid/ProgressIndicator-bug-Sublight

Implemented fix from #660
Merge pull request #578 from Amrykid/theme-manager-detect-theme

Follow up for #522
style formatting
use brush instead color to fix issue #586
Merge pull request #706 from MahApps/586-punker76-glow-error

fix #586 System.Windows.Data Error: 4 with Glow
fix build of AccentColorRepro
add window commands to flyout demo
introduce WindowButtonCommands
fix button height of WindowCommands
don't focus FlyoutsControl
don't focus MetroContentControl
introduce ShowWindowCommandsOnTop

! fix ZIndex if more than flyouts are open
! allow for flyout.Position == Position.Top too
add ShowWindowCommandsOnTop to flyouts example