Refactored local detection and used more locigal variable names
Fixed bug with displaying thumbnail images in cloud box
Merge branch 'prototype' of https://github.com/henkelund/memobox into prototype