Introduced checkNull() and alert dialog for null

checkNull() has to be rolled out on all public functions
Added numerous nullCheck()
Added install script