MasterMain.c - Implementado "Shutdown"