---/St.An: Added basic logging support. Fixed persistency of toolbar buttons and check box items.