and it lives. now to cleanup gui