Added some checks to user input. Started work on the snapshot function.