New features: #864, #893, #894, #895, #896, #901

Bug fixes: #879, #889, #890, #891, #892, #898, #899, #900