Fix multi-flags parsing and saving. Adding 'flags-glue' option.
Fix updateEntry function that doesn't correctly use the 'flags' param.