diff --git a/source/distro/changelog.txt b/source/distro/changelog.txt
index b0c8f27..69fa205 100644
--- a/source/distro/changelog.txt
+++ b/source/distro/changelog.txt
@@ -2,10 +2,13 @@ Changelog for Writer2LaTeX version 1.2 -> 1.4
 
 ---------- version 1.3.1 alpha ----------
 
-[w2x] The option ignore_table_dimensions has been replace by a new option table_size with values none (do not export table
+[all] The command line application now gives an explanation if the source file is not in ODF format
+
+[all] Bugfix: Fixed typo that caused writer2latex.office.MIMETypes.getMagicMIMEType() to fail in some cases 
+
+[w2x] The option ignore_table_dimensions has been replaced by a new option table_size with values none (do not export table
   dimensions), relative (always use relative width) and auto (use the formatting of the source document):
-  If set to true, all tables are exported with relative width, even
-  if they have an absolute width in the source document
+  If set to true, all tables are exported with relative width, even if they have an absolute width in the source document
 
 [w2x] Display equations are now recognized by the same means as in the LaTeX export: A single equation in a paragraph with no
   text content except whitespace and an optional sequence number in brackets is considered a display equation. In that case
diff --git a/source/java/writer2latex/Application.java b/source/java/writer2latex/Application.java
index 860b9ae..607e24f 100644
--- a/source/java/writer2latex/Application.java
+++ b/source/java/writer2latex/Application.java
@@ -16,11 +16,11 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston,
  *  MA  02111-1307  USA
  *
- *  Copyright: 2002-2012 by Henrik Just
+ *  Copyright: 2002-2014 by Henrik Just
  *
  *  All Rights Reserved.
  * 
- *  Version 1.4 (2012-03-30) 
+ *  Version 1.4 (2014-08-05) 
  *
  */
  
@@ -286,6 +286,7 @@ public final class Application {
             catch (IOException e) {
                 System.out.println("--> Failed to convert the file "+source.getPath()+"!");
                 System.out.println("    "+e.getMessage());
+                System.out.println("    Please make sure the file is in OpenDocument format");
                 System.exit(1);
             }
 
diff --git a/source/java/writer2latex/api/ConverterFactory.java b/source/java/writer2latex/api/ConverterFactory.java
index 26f1db1..21b286e 100644
--- a/source/java/writer2latex/api/ConverterFactory.java
+++ b/source/java/writer2latex/api/ConverterFactory.java
@@ -16,11 +16,11 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston,
  *  MA  02111-1307  USA
  *
- *  Copyright: 2002-2012 by Henrik Just
+ *  Copyright: 2002-2014 by Henrik Just
  *
  *  All Rights Reserved.
  * 
- *  Version 1.4 (2012-04-12)
+ *  Version 1.4 (2012-08-05)
  *
  */
  
@@ -33,7 +33,7 @@ public class ConverterFactory {
 
     // Version information
     private static final String VERSION = "1.3.1";
-    private static final String DATE = "2012-04-12";
+    private static final String DATE = "2014-08-05";
 	
     /** Return the Writer2LaTeX version in the form
      *  (major version).(minor version).(patch level)<br/>
diff --git a/source/java/writer2latex/office/MIMETypes.java b/source/java/writer2latex/office/MIMETypes.java
index 6214761..0944e63 100644
--- a/source/java/writer2latex/office/MIMETypes.java
+++ b/source/java/writer2latex/office/MIMETypes.java
@@ -16,11 +16,11 @@
  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston,
  *  MA  02111-1307  USA
  *
- *  Copyright: 2002-2012 by Henrik Just
+ *  Copyright: 2002-2014 by Henrik Just
  *
  *  All Rights Reserved.
  * 
- *  Version 1.4 (2012-04-01)
+ *  Version 1.4 (2014-08-05)
  *
  */
 
@@ -92,9 +92,9 @@ public final class MIMETypes extends writer2latex.api.MIMETypes {
     
     private static final boolean isSVG(byte[] blob) {
         // Look for <svg within the first 250 bytes
-    	int m = Math.max(blob.length, 250);
+    	int m = Math.min(blob.length, 250);
         int n = SVG_SIG.length;
-        for (int j=0; j<m; j++) {
+        for (int j=0; j<m-n; j++) {
             boolean bFound = true;
         	for (int i=0; i<n; i++) {
         		if (blob[j+i]!=SVG_SIG[i]) {