.lastep enabled

enables the .lastep shell command. also some minor modifications to the
code quality etc.