Tweaked query to prevent "Operation not allowed after ResultSet closed" error
Tweaked the way newlines are handled when storing in database
Almost finished GUI