New subplottool and various fixes

This pull request summarises three commits:

1) subplottool customized