Last changes to array-cmd.sdx; commands synced with C++ UDP send function
Cleanup of Perl and C++ UDP send synced with Perl
Added helper functions, tightened up code, some conversions protected against buffer errors