Added dynamic allocation for program names and explicit checks. Too bad about strlcpy.
Added dynamic allocation for program names and explicit checks. Too bad about strlcpy.

kylebgorman/swipe,kylebgorman/swipe,kylebgorman/swipe,kylebgorman/swipe