Talnet now uses the top application in stack.
setApp($app) calls pushApp($app) for backward compatibility.