fixed external reference bug. added more to gui system. cut some
features.