Updated akka version; minor improvements

Updated akka to 2.3.4 and fixed code according to Patrik's remarks. 
Also made some cleanup (imports mainly).
Totally agreed. We must've missed that one. Fix is coming.