Added context-aware help messages

In this way, the help command will only show commands related to the type of the currently opened object.