Fixed framelevelissue on config, some changes and fixes