Fixed minor bugs, added support for warning, added support for grouping!