Text window gui padding

Removed the hardcodedness of padding around text windows in a reasonably backwards compatible way. This bumps the current GUI version to 331.