Added function for randr and a default main.
Merge remote-tracking branch 'origin/master'