Optimized expression in the framedump plugin, and fixed
directory cleanup logic in the server. Added frame logging.
Fixed spurious forward slash in path.