Squashed changes/fixs from 2013.08.1-Amlogic

This commit adds all changes and fixs from the 2013.08.1-Amlogic branch (eg. Amlogic/XBMC support), This also makes a few cosmetic changes to the gui configuration.