(Joker) Close the media panel to really close the application

Without this, Joker could stay opened in the background even if it
appeared closed.
Merge pull request #283 from tlecomte/tlFixJokerClose

Close the media panel to really close the application