Use self.stdout instead of 'print' and get rid of the borders.