Fix: Opening a  MainWindow crashed because of my assertion in MenuBar
Improve Player library performance by caching some crucial properties. Fix some relations.