fix sourced frames and gui things; use new gui format