Adding Refreshrate detection for linux. Fixing smaller tipos