added GUI for cache configuration; better robustness in cache I/O handling