Create a desktop shortcut if set in Packs.xml
Fixed a array out of bounds error in getElement()
getElement() now used dynamic array asignment