Fix read/write of properties file.
Fix read/write of properties file.

Reduce number of times a file is opened/closed.

PufferPanel/PufferPanel,PufferPanel/PufferPanel,PufferPanel/PufferPanel,PufferPanel/PufferPanel