Dev

Fix for syntax error detection not relying on stderr but on close of server.

Fix bug to prevent `stop()` to be called twice, was the main problem with syntax error detection.
Resulted in calling `stop()` directly after server `start()`

Implemented new logs function thanks @leops (#48)