bug fixes

Fixing a null reference exception and making sure the icons are created
in the application directory and not in with FalconView.