Corrected behaviour to get offline ID
Prefixed the saKey and added the option to customize the sync timeout
Fixed more mistakes involving undefined member objects