Core data bug fixed closes #14
It was caused by the context reference not being held strongly.