Use command -v to check for commands.
Quote arguments.
Export GNOME_KEYRING_PID and GNOME_KEYRING_SOCKET
Also group windows with ConversationWindow roles (skype).
Use fluxboxs formatting.
Vertically maximize and group Dia windows.
Experiement with using alt+a for switching to the Music Player.