Fixed null pointer errors and some other bugs. Current bug: displays continuously.