sfx fixes, documentation case stuff in path

fixes for
https://github.com/increpare/PuzzleScript/issues/112
https://github.com/increpare/PuzzleScript/issues/108
fix compilation of https://github.com/increpare/PuzzleScript/pull/111