moved gui service into core services. other minor changes.