bring back commands

bring back basic command support and greatly simplified message filter
cleanup and typo fix

attempted to only delete code that has been reintegrated/replaced
somewhere else