Bugfixes, enabled saving and loading.

Fixed bugs around showing the time in connection.
saving and loading works fine, but requires more than standard heap and stack size
300MB for stack and 1000MB for heap is enough.
Loading and saving performance improved when using buffered streams.
bugfixes