Implemented --no-pause switch.
Removed Ptr::valid() and replaced with Ptr::isNull().
Added constructor for Ptr that takes another Ptr<T> and tries to cast it.
Using Ptr now possibly everywhere.