simplification and battle tested version of gosu