fixed 2 bugs:
fixed 2 bugs:

- infinite loop in nodes.c:findActiveApplication for lists larger than 1
- missing return value in nodes.c:removeActiveApplication

uel-aspire-fp7/renewability,uel-aspire-fp7/renewability,uel-aspire-fp7/renewability