osx fix and basic cmd-oriented render stub