Avoid Interpreter NullpointerException

I tried to extend Main class and the Main class vals load got stuck.
Exception in thread "RequestsEventLoop" java.lang.NullPointerException
	at org.tribbloid.ispark.ExecuteHandler.apply(Handlers.scala:147)
	at org.tribbloid.ispark.Main$EventLoop$$anonfun$run$2.apply(Main.scala:112)
	at org.tribbloid.ispark.Main$EventLoop$$anonfun$run$2.apply(Main.scala:110)
	at scala.Option.foreach(Option.scala:236)
	at org.tribbloid.ispark.Main$EventLoop.run(Main.scala:110)
This exception was thrwon because the interpreter was null at the time that ExecuteHandler was build.

The Main object in this main class is also making this extension a bit difficult, can I change it?

Also the code suggestion wasn't working, and debugging I found that msg text parameter was empty, and the typed values was in the line parameter.