Switch to JavaFx launcher, add window close handling. Add log config classpath
Add required Content-type headers to server. Now renders waiting page correctly.