Proper getLastLoggedTimestamp implementation
Mutch better read error handling

Still missing some important tx validation handling