Warnings and spelling fixes