It still dosent work it says there is something wrong with this line in Window_Command
self.contents.font.size = $defaultfontsize
Ah, that one... Change this line to:
self.contents.font.size = $fontsize
or
self.contents.font.size = 24
Do this, whenever you get this stupid error again.