Expressing Priorities and External Probabilities in Process Algebra via Mixed Open/Closed Systems