public void updateStatus(String text) {
		
		if (text.length() + statusText.length() > MAX_STATUS_SIZE) {
			// Remove the last line
			statusText.delete(statusText.lastIndexOf("\n"),statusText.length());
		}
		
		// Update the master text
		statusText.insert(0, text+"\n");
		
		// And then add it to the text area
		if (statusPanel != null) {
			statusPanel.setText(statusText.toString());			
		} 
	}