diff --git a/src/tec/letsgoing/ardublock/simulator/view/GUI.java b/src/tec/letsgoing/ardublock/simulator/view/GUI.java
index c235bbdc7a369a889602704d7763086f42cc006f..7be812431d82abb5171d24b29976811dc2b5d937 100644
--- a/src/tec/letsgoing/ardublock/simulator/view/GUI.java
+++ b/src/tec/letsgoing/ardublock/simulator/view/GUI.java
@@ -202,9 +202,10 @@ public class GUI extends JFrame implements Runnable, ActionListener {
 		
 		//updateSerialLog(getHeight()-topPanel.getHeight());
 
-		System.out.println(xscale + "  :  " + yscale);
-		System.out.println(getWidth() + "  :  " + getHeight());
+		updateSerialLog(getHeight()-topPanel.getHeight());
 		
+		System.out.println(topPanel.getHeight());
+		System.out.println(modulPanel.getHeight());
 	}
 	
 	
@@ -299,7 +300,6 @@ public class GUI extends JFrame implements Runnable, ActionListener {
 
 		panel.add(scrollPane, BorderLayout.PAGE_END);
 		
-		updateSerialLog(getHeight()-topPanel.getHeight());
 		
 		return panel;
 	}
@@ -312,9 +312,9 @@ public class GUI extends JFrame implements Runnable, ActionListener {
 	 */
 	public void updateSerialLog(int size) {
 		
-		int numRows =  Math.min(Math.max(((int)size/30), 2), 16);
+		int numRows =  Math.min(Math.max(((int)size/20-3), 3), 20);
 		serialLog.setRows(numRows);	
-		
+		System.out.println(numRows);
 	}
 
 	/**