[misc] Fixed typo, removed redundant comment
Issue #1008: Make the standalone package detect Java correctly in more cases on Windows
Done.
[cleanup] Removed no longer needed code
Issue #1009: Make the port on which the standalone package listens configurable through an environment variable
Done.