Fixed some small errors whith desktop main