Stopgap memory usage and file name length fixes for controller.