Fixed problems with scripts and default config (fixes #182)

- added missing environment variables in scripts
- changed default port of web frontend back to 8080
- replaced bc command with 'expr +' for adding heap sizes