Doesn't sound like you have anything to worry about. If you turn it off then back on instead of restart does it display the same code or is it A0? Either way if everything works properly I wouldn't fret it
Code 30 and 40 is telling you it came out of either the s3 or s4 sleep state.
Disabling sleep and hibernate should solve it.