first implementation of two functions
new: recovering more info from cocoa applications
added an option to only go through desktop processes