removed SmartTagParser.java, moved ErrorPages to fileio, EmbeddedFiles have consistent names now
created constant, change method order
removed 'magic number', extracted RestoreItem class
minor code cleanup
algorithm redone