added special cases for start and quit buttons
fixed lenght
added special cases for start and quit in executemediacontrol
checked for a real connection