Fixed warnings about integers being used as format arguments.
Fixed error where super init was not being called.