Bugfix (Segfault), no ID. Also added some error checking at init.