added macro mapping function and showing parameter page name in device mode.
Merge pull request #123 from jhorology/master

Pull Request for Issue #122