Fix BApplicationServer and BRemoteLogger

Fix local server interaction in BApplicationServer.

Implement BRemoteLogger destructor.