Added ISReady function
Added use of IsReady function and added some comments
Continued commenting and editing stuff