General logs update.
Big bugs fix update - null pointers everywhere...