Added check for logger global before attempting to log in places where logging may occur before the logger is ready
Added fall back print statements in case logger is unavailable
Merge pull request #302 from DivineOmega/fix_missing_logger

Fix missing logger
Move one line of code so that correct program activity is logged
Merge pull request #304 from Atheros1/master

[Minor] Move one line of code so that correct program activity is logged
Merge branch 'master' of https://github.com/Bitmessage/PyBitmessage

fixed with origin bitmessage
add - viewing messages with attachmets.