After some debugging, I narrowed down the problem to
<useShadows>false</useShadows>
line in Setting.xml. Switching value to 'true' makes the program start normally. I have probably inadvertently clicked on something in the UI on the first run to change it.