Various fixes (race conditions,bugs) and redundant types cleanup

Perhaps a contributor guideline page could be useful (?) when it comes to your code writing preferences, especially considering that implicity types are somewhat considered a core feature of the Go language.