make sure canvas context is ready #12
simplify fill/stroke styling #12