Added some code for FitWindow/Aspect Ratio

Note: It's a work in progress, the code does not quite work yet--it is based on the old Baka MPlayer code.